<?php 
$this->headLink(array('href' => '/cms/styles/style.css', 'rel' => "stylesheet", 'type' => "text/css"));
$this->headStyle(<<<EOD
#List {
	overflow: auto;
	height: 350px;
	margin-right: -6px;
}
EOD
);
$this->layout()->body_attr = 'class="modal"';
?>
<form action="" method="post">
  <div id="List">
  <table border="0" cellpadding="0" cellspacing="0" class="form">
      <?php for ($p=0;$p<count($this->param_list);$p++) {?>
      <tr>
        <td class="stnd_font"><?= $this->param_list[$p][1] ?>:</td>
        <td><input name="<?= $this->param_list[$p][0] ?>" type="text" class="modalInput" id="<?= $this->param_list[$p][0] ?>" value="<?= $this->param_values[$this->param_list[$p][0]] ?>" /></td>
      </tr>
      <?php } ?>
    </table>  
  </div>
  <div style="padding-top:20px">
    <input type="submit" class="okButton" value="Сохранить" />
    <input type="button" class="okButton" value="Отмена" onclick="window.parent.setTimeout('Shadowbox.close()',10)" />
  </div>
</form>